!!! 5
%html
  %head
    / Title
    %title= "Watch Tower - #{@title}"

    / Meta tags
    %meta{:charset => "utf-8"}/
    %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
    %meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/
    %meta{name: 'date_filtering_from', content: session[:date_filtering][:from_date] }/
    %meta{name: 'date_filtering_to', content: session[:date_filtering][:to_date]}/

    / Link tags
    %link{:href => asset_path('application.css'), :rel => "stylesheet"}/

    / Script tahs
    %script{:src => asset_path('application.js')}
  %body
    %section#wrapper

      %header
        #logo
          %a{href: "/"}
            %h1 Watch Tower

      %section#main
        %aside#date
          %input{type: 'text'}
        .page= yield

      %section#footer
        %a{href: 'https://github.com/TechnoGate/watch_tower', target: '_blank'}
          WatchTower
        Version
        %a{href: "https://github.com/TechnoGate/watch_tower/tree/v#{WatchTower.version}", target: '_blank'}
          = WatchTower.version
        %br/
        © Copyright 2011
        %a{href: 'https://github.com/TechnoGate', target: '_blank'}
          TechnoGate
